package top.cjwtx.holy.pojo.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import top.cjwtx.holy.pojo.po.UserAccount;
import top.cjwtx.holy.pojo.po.UserInfo;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class UserDTO extends UserInfo implements Serializable {

    private static final long serialVersionUID = -8601827047320173154L;

    /**
     * 用户账号
     */
    private UserAccount userAccount;

    /**
     * 用户角色
     */
    private List<RoleDTO> roleDTOList;


}
